from PyQt5.QtWidgets import QVBoxLayout, QFrame
from qfluentwidgets import FlowLayout
from ui.home.focus_interface import FocusInterface


class HomeInterface(QFrame):
    def __init__(self, parent=None):
        super().__init__(parent=parent)
        self.setObjectName('Home')
        self.layout = FlowLayout(self, needAni=True)
        self.focusInterface = FocusInterface(self)
        self.layout.addWidget(self.focusInterface)
        self.layout.setContentsMargins(10, 40, 10, 10)
        self.layout.setSpacing(0)
